////////////////////////////////////////////////////////////////////////////////
//File:					TestCubeApplication.h
//Author:				Kesitem
//This file is part of UglyProject.
//See UglyProject.txt for copyright informations.
////////////////////////////////////////////////////////////////////////////////
#ifndef __TESTCUBEAPPLICATION_H__
#define __TESTCUBEAPPLICATION_H__

#include "Main.h"

/**
 * \brief Test cube application.
 */
class TestCubeApplication : public Application
{
public:

    /**
     * \brief Constructor.
     */
    TestCubeApplication();

protected:

    /**
     * \brief Init the application.
     *
     * \return False if error.
     */
    virtual bool init();

    /**
     * \brief Shutdown the application.
     */
    virtual void shutdown();

    /**
     * \brief Update the application.
     *
     * \return False if error.
     */
    virtual bool update();

private:

    /**
     * GLSL program
     */
    GLSLProgram mProgram;
    /**
     * Vertex buffer.
     */
    VertexBuffer mVertexBuffer;
    /**
     * Color buffer.
     */
    VertexBuffer mColorBuffer;
};

#endif // __TESTCUBEAPPLICATION_H__
